From 83e8fb8dfd7d379ce1282e95f23b9fb789b3435f Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 3 Jun 2004 02:27:25 +0000 Subject: [PATCH] Bureacrat now --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index 19568ad9b5..331205523d 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -494,8 +494,8 @@ class Title { if ( $this->mDbkeyform == "_" ) { return false; } # protect global styles and js if ( NS_MEDIAWIKI == $this->mNamespace - && !$wgUser->isDeveloper() && preg_match("/\\.(css|js)$/", $this->mTextform )) + && !$wgUser->isBureaucrat() { return false; } //if ( $this->isCssJsSubpage() and !$this->userCanEditCssJsSubpage() ) { return false; } # protect css/js subpages of user pages -- 2.20.1